package com.itheima.entity;

import java.io.Serializable;

public class Dog extends Animal implements Serializable {

    public Dog() {
		super();
	}

    public Dog(String name, int age, String color) {
		super(name, age, color);
	}

    @Override
    public void eat() {
        System.out.println("狗吃骨头");
    }
}
